package com.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
*  的实体类
**/
@Data
public class SysRoom implements Serializable {

    private static final long serialVersionUID = 1L;

    //ID
    private Integer id;
    //自习室名
    private String name;
    //简介
    private String content;
    //经度
    private Double longitude;
    //维度
    private Double latitude;
    //状态
    private String status;
    //开店时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time1;
    //关门时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time2;
    //图片
    private String photo;

}